package com.niguang.work.labour.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class VClock extends Model<VClock> {

    public static final String SITE_ID = "site_id";
    public static final String DAY = "DAY";
    public static final String USERID = "userId";
    public static final String ALLTIME = "allTime";
    public static final String OVERTIME = "overtime";
    public static final String NORMALTIME = "normalTime";
    public static final String DAYSALARY = "daySalary";
    public static final String WORKTYPEID = "workTypeId";
    private static final long serialVersionUID = 1L;
    private Long siteId;
    private LocalDate day;
    @TableField("userId")
    private Long userId;
    @TableField("allTime")
    private BigDecimal allTime;
    private BigDecimal overtime;
    @TableField("normalTime")
    private BigDecimal normalTime;
    @TableField("daySalary")
    private String daySalary;
        /**
     * 工种ID
     */
         @TableField("workTypeId")
    private Long workTypeId;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
